package com.genesis.mall.service.impl;

import com.genesis.mall.dto.ProductDto;
import com.genesis.mall.entity.PmsProductAttributeCategory;
import com.genesis.mall.mapper.PmsProductAttributeCategoryMapper;
import com.genesis.mall.service.IPmsProductAttributeCategoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 产品属性分类表 服务实现类
 * </p>
 *
 * @author author
 * @since 2022-08-01
 */
@Service
public class PmsProductAttributeCategoryServiceImpl extends ServiceImpl<PmsProductAttributeCategoryMapper, PmsProductAttributeCategory> implements IPmsProductAttributeCategoryService {
    @Autowired
    private PmsProductAttributeCategoryMapper productAttributeCategoryMapper;
    @Override
    public List<ProductDto> getAll() {
        return productAttributeCategoryMapper.getAll();
    }
}
